<template>
    <certManager 
        :type="1" 
        :location="location"
        :info="'onePlusExam'"
        :activityId="activityId"
        :activeType="activeType"
        @returnBack="returnBack()"
        ></certManager>
</template>
<script>
import certManager from "@/components/common/certManager"
export default {
    name:'onePlusTrainingRecord',
    components:{certManager},
    created(){
        this.activityId=this.$route.query.id
        this.activeType=this.$route.query.type
        this.location[2].name=this.$route.query.name
    },
    data(){
        return{
            location:[
                {
                    name:"1+X",
                    path:''
                },{
                    name:"培训管理",
                    path:'/onePlusTrainingManage'
                },{
                    name:'成绩详情',
                    path:''
                }
            ],
            activityId:'',
            activeType:'',
        }
    },
    methods:{
        returnBack(){
            this.$router.push({path:'/onePlusTrainingManage',query:{page:this.$route.query.page}})
        }
    }
}
</script>